package com.itheima.health.enums;

/**
 * 密码类型硬编码
 *
 * @author liCuiPing
 * @since 2022/11/23 21:40
 */
public enum PasswordTypeEnums {

    MD5_TYPE(1,"{md5}"),
    BCRYPT_TYPE(2,"{bcrypt}"),
    MD5_SALT(3,"qwe123!@#");

    private Integer code;
    private String value;
    PasswordTypeEnums(Integer code,String value ){
        this.code =code;
        this.value=value;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }
}